package de.consileon.resisweb.client.panel.suchen;

import com.google.gwt.place.shared.Place;
import com.google.gwt.place.shared.PlaceTokenizer;

public class SuchenPlace extends Place
{
	private String helloName;
	
	public SuchenPlace(String token)
	{
		this.helloName = token;
	}

	public String getHelloName()
	{
		return helloName;
	}

	public static class Tokenizer implements PlaceTokenizer<SuchenPlace>
	{

		@Override
		public String getToken(SuchenPlace place)
		{
			return place.getHelloName();
		}

		@Override
		public SuchenPlace getPlace(String token)
		{
			return new SuchenPlace(token);
		}

	} 
}